#include <iostream>
using namespace std;
void exc(int &m,int &n);
int main()
{
	int a ,b ,c;
	cin >> a >> b >> c;
	if(a>b){
		exc(a,b);
	}
	if(b > c){
		exc(b,c);
	}
	if(a > b){
		exc(a,b);
	}
	
	cout << a <<" "<<b << " "<< c;
}
void exc(int &m,int &n){
	int temp;
	temp = m;
	m = n;
	n = temp;
}
